﻿using Abp.Application.Services.Dto;
using System;
using System.ComponentModel;

namespace LpbPrj.Client.Records.Dtos
{
    public class RecordListDto : EntityDto<long>, INotifyPropertyChanged
    {
        public void OnPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        public event PropertyChangedEventHandler PropertyChanged;

        public int PatientId { get; set; }
        public string Description { get; set; }


        public string CreationDate { get; set; }
        public string CreationDateTime { get; set; }
        public DateTime CreationTime { get; set; }


        public RecordListDto Clone()
        {
            return MemberwiseClone() as RecordListDto;
        }
    }
}
